package com.hsfw.dbmodule.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

@Mapper
@Repository
public interface ArmyDataDao {
    public List<HashMap<String, Object>> getArmyTreeMenuByNodeID(@Param("nodeID") String nodeID);
    public List<HashMap<String, Object>> getArmyDataByNodeId(@Param("nodeGuidStr") String nodeGuidStr,
                                                                    @Param("startNum") int startNum,
                                                                    @Param("pageNum") int pageNum);
    public List<String> getChildIdListByParentIdList(@Param("parentGuidStr") String parentGuidStr);
    public String getTableNum(@Param("parentGuidStr") String parentGuidStr);
}
